
               <?= $tree_menus ?>

                <div class="main_beer">
                	<div class="main_menu_top">
                    	SẢN PHẨM NỔI BẬT
                    </div>

                    <div class="main_menu_between">
                    <ul id="leftslide">
                    <?php if(!empty($hotproduct)):?>
                    	<?php foreach($hotproduct as $data):?>
                    		<li>
		                        <div class="text_PRODUCT1">
		                            <p class="pro_name"><a href="<?= _BASE_URL?>index.php?module=product&action=detail&slug=<?= $data['slug']?>" style="color: #80F2F3 !important;"><?= $this->_helper->limited_character($data['product_name'],30)?></a></p>
		                        </div>
		                        <div class="img_product">
		                            <p class="img_bg">
		                                <?php if(is_file("admin/".$data['product_thumb'])):?>
                                            <a href="<?= _BASE_URL?>index.php?module=product&action=detail&slug=<?= $data['slug']?>"><img src="admin/<?=$data['product_thumb']?>" /></a>
                                        <?php else:?>
                                            <a href="<?= _BASE_URL?>index.php?module=product&action=detail&slug=<?= $data['slug']?>"><img src="admin/assets/uploads/images/news/imgerr.jpg" /></a>
                                        <?php endif;?>
		                            </p>
		                        </div>
		                        <div style="clear: both;"></div>
		                        <div class="text_PRODUCT_price">
		                            <?php if($data['product_price_sale'] != 0):?>
                                        <?= number_format($data['product_price_sale'],0,",",".")?> VNÐ
                                    <?php else:?>
                                        <?= number_format($data['product_price'],0,",",".")?> VNÐ
                                    <?php endif;?>
		                        </div>
		                    </li>
                    	<?php endforeach;?>
                    <?php endif;?>
                    </ul>
                    </div>

                    <!--<div class="main_menu_futter"></div>-->
                </div><!---Hot Product-->
                <script type="text/javascript">

                jQuery(document).ready(function(){
                    jQuery('#leftslide').ulslide({
                    statusbar: true,
                    width: 182,
                    height: 240,
                    effect: {
                    	type: 'slide', // slide or fade
                    	axis: 'y',     // x, y
                    	distance: 40   // Distance between frames
                    },

                    mousewheel: true,
                    duration: 800,
                    autoslide: 3000,
                    });
                });
                </script>

                <div class="main_beer">
                	<div class="main_menu_top">
                    	THỐNG KÊ TRUY CẬP
                    </div>
                    <div class="main_menu_between">
						<div class="statistics">
                        	<div class="icon_statistics">
                            	<img src="<?= _BASE_URL?>assets/frontend/css/img/icon.png" />
                            </div>
                            <div class="text_statistics">
                            	Đang truy cập : <?= $user_online ?>
                            </div>
						</div>
						<div class="statistics">
                        	<div class="icon_statistics">
                            	<img src="<?= _BASE_URL?>assets/frontend/css/img/icon1.png" />
                            </div>
                            <div class="text_statistics">
                            	Hôm nay : <?= $user_counter['day_counter'] ?>
                            </div>
						</div>
                        <div class="statistics">
                        	<div class="icon_statistics">
                            	<img src="<?= _BASE_URL?>assets/frontend/css/img/icon2.png" />
                            </div>
                            <div class="text_statistics">
                            	Tháng hiện tại : <?= $user_counter['month_counter'] ?>
                            </div>
						</div>
                        <div class="statistics">
                        	<div class="icon_statistics">
                            	<img src="<?= _BASE_URL?>assets/frontend/css/img/icon3.png" />
                            </div>
                            <div class="text_statistics">
                            	Tổng truy cập : <?= $user_counter['total_counter'] ?>
                            </div>
						</div>
                    </div><!--End of .main_beer -->